<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
    <meta charset="utf-8">
    <title>编辑角色</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="http://vod.136.i2863.com/static/common/layui/2.5.5/css/layui.css" media="all"/>
    <link rel="stylesheet" th:href="@{/static/css/public.css}" media="all"/>
</head>
<body class="childrenBody">
<form class="layui-form" style="margin:20px">
    <input type="hidden" th:value="${roleId}" name="roleId">
    <div class="layui-form-item">
        <label style="width:60px;padding:9px;" class="layui-form-label">角色名称</label>
        <div style="margin-left:85px;" class="layui-input-inline">
            <input type="text" class="layui-input roleName" name="roleName" lay-verify="required"
                  th:value="${roleName}" placeholder="请输入角色名称">
        </div>
    </div>
    <div class="layui-form-item">
        <label style="width:60px;padding:9px;" class="layui-form-label">角色状态</label>
        <div style="margin-left:85px;" class="layui-input-inline">
            <select name="available" class="available">
                <option value="1" th:selected="${available == 1}">启用</option>
                <option value="0" th:selected="${available == 0}">禁用</option>
            </select>
        </div>
    </div>
    <div class="layui-layer-btn layui-layer-btn-" style="padding:0">
        <a lay-filter="editRoleBase" lay-submit class="layui-layer-btn0">保存</a>
        <a class="layui-layer-btn1 cancel">取消</a>
    </div>
</form>
<script type="text/javascript" src="http://vod.136.i2863.com/static/common/layui/2.5.5/layui.js"></script>
<script type="text/javascript" th:src="@{/static/js/role/role-edit.js}"></script>
</body>
</html>